home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / info / message.z / message
Encoding:
GNU Info File  |  1998-10-28  |  35.2 KB  |  1,004 lines

  1. This is Info file ../info/message, produced by Makeinfo-1.63 from the
  2. input file message.texi.
  3.  
  4.    This file documents Messa, the Emacs message composition mode.
  5.  
  6.    Copyright (C) 1996 Free Software Foundation, Inc.
  7.  
  8.    Permission is granted to make and distribute verbatim copies of this
  9. manual provided the copyright notice and this permission notice are
  10. preserved on all copies.
  11.  
  12.    Permission is granted to copy and distribute modified versions of
  13. this manual under the conditions for verbatim copying, provided also
  14. that the entire resulting derived work is distributed under the terms
  15. of a permission notice identical to this one.
  16.  
  17.    Permission is granted to copy and distribute translations of this
  18. manual into another language, under the above conditions for modified
  19. versions.
  20.  
  21. 
  22. File: message,  Node: Top,  Next: Interface,  Up: (dir)
  23.  
  24. Message
  25. *******
  26.  
  27.    All message composition (both mail and news) takes place in Message
  28. mode buffers.
  29.  
  30. * Menu:
  31.  
  32. * Interface::         Setting up message buffers.
  33. * Commands::          Commands you can execute in message mode buffers.
  34. * Variables::         Customizing the message buffers.
  35. * Index::             Variable, function and concept index.
  36. * Key Index::         List of Message mode keys.
  37.  
  38. 
  39. File: message,  Node: Interface,  Next: Commands,  Prev: Top,  Up: Top
  40.  
  41. Interface
  42. *********
  43.  
  44.    When a program (or a person) wants to respond to a message - reply,
  45. follow up, forward, cancel - the program (or person) should just put
  46. point in the buffer where the message is and call the required command.
  47. `Message' will then pop up a new `message' mode buffer with appropriate
  48. headers filled out, and the user can edit the message before sending it.
  49.  
  50. * Menu:
  51.  
  52. * New Mail Message::     Editing a brand new mail message.
  53. * New News Message::     Editing a brand new news message.
  54. * Reply::                Replying via mail.
  55. * Wide Reply::           Responding to all people via mail.
  56. * Followup::             Following up via news.
  57. * Canceling News::       Canceling a news article.
  58. * Superseding::          Superseding a message.
  59. * Forwarding::           Forwarding a message via news or mail.
  60. * Resending::            Resending a mail message.
  61. * Bouncing::             Bouncing a mail message.
  62.  
  63. 
  64. File: message,  Node: New Mail Message,  Next: New News Message,  Up: Interface
  65.  
  66. New Mail Message
  67. ================
  68.  
  69.    The `message-mail' command pops up a new message buffer.
  70.  
  71.    Two optional parameters are accepted: The first will be used as the
  72. `To' header and the second as the `Subject' header.  If these aren't
  73. present, those two headers will be empty.
  74.  
  75. 
  76. File: message,  Node: New News Message,  Next: Reply,  Prev: New Mail Message,  Up: Interface
  77.  
  78. New News Message
  79. ================
  80.  
  81.    The `message-news' command pops up a new message buffer.
  82.  
  83.    This function accepts two optional parameters.  The first will be
  84. used as the `Newsgroups' header and the second as the `Subject' header.
  85. If these aren't present, those two headers will be empty.
  86.  
  87. 
  88. File: message,  Node: Reply,  Next: Wide Reply,  Prev: New News Message,  Up: Interface
  89.  
  90. Reply
  91. =====
  92.  
  93.    The `message-reply' function pops up a message buffer that's a reply
  94. to the message in the current buffer.
  95.  
  96.    Message uses the normal methods to determine where replies are to go,
  97. but you can change the behavior to suit your needs by fiddling with the
  98. `message-reply-to-function' variable.
  99.  
  100.    If you want the replies to go to the `Sender' instead of the `From',
  101. you could do something like this:
  102.  
  103.      (setq message-reply-to-function
  104.            (lambda ()
  105.             (cond ((equal (mail-fetch-field "from") "somebody")
  106.                     (mail-fetch-field "sender"))
  107.                   (t
  108.                    nil))))
  109.  
  110.    This function will be called narrowed to the head of the article
  111. that is being replied to.
  112.  
  113.    As you can see, this function should return a string if it has an
  114. opinion as to what the To header should be.  If it does not, it should
  115. just return `nil', and the normal methods for determining the To header
  116. will be used.
  117.  
  118.    This function can also return a list.  In that case, each list
  119. element should be a cons, where the car should be the name of an header
  120. (eg. `Cc') and the cdr should be the header value (eg.
  121. `larsi@ifi.uio.no').  All these headers will be inserted into the head
  122. of the outgoing mail.
  123.  
  124. 
  125. File: message,  Node: Wide Reply,  Next: Followup,  Prev: Reply,  Up: Interface
  126.  
  127. Wide Reply
  128. ==========
  129.  
  130.    The `message-wide-reply' pops up a message buffer that's a wide
  131. reply to the message in the current buffer.
  132.  
  133.    Message uses the normal methods to determine where wide replies are
  134. to go, but you can change the behavior to suit your needs by fiddling
  135. with the `message-wide-reply-to-function'.  It is used in the same way
  136. as `message-reply-to-function' (*note Reply::.).
  137.  
  138.    Addresses that matches the `rmail-dont-reply-to-names' regular
  139. expression will be removed from the `Cc' header.
  140.  
  141. 
  142. File: message,  Node: Followup,  Next: Canceling News,  Prev: Wide Reply,  Up: Interface
  143.  
  144. Followup
  145. ========
  146.  
  147.    The `message-followup' command pops up a message buffer that's a
  148. followup to the message in the current buffer.
  149.  
  150.    Message uses the normal methods to determine where followups are to
  151. go, but you can change the behavior to suit your needs by fiddling with
  152. the `message-followup-to-function'.  It is used in the same way as
  153. `message-reply-to-function' (*note Reply::.).
  154.  
  155.    The `message-use-followup-to' variable says what to do about
  156. `Followup-To' headers.  If it is `use', always use the value.  If it is
  157. `ask' (which is the default), ask whether to use the value.  If it is
  158. `t', use the value unless it is `poster'.  If it is `nil', don't use
  159. the value.
  160.  
  161. 
  162. File: message,  Node: Canceling News,  Next: Superseding,  Prev: Followup,  Up: Interface
  163.  
  164. Canceling News
  165. ==============
  166.  
  167.    The `message-cancel-news' command cancels the article in the current
  168. buffer.
  169.  
  170. 
  171. File: message,  Node: Superseding,  Next: Forwarding,  Prev: Canceling News,  Up: Interface
  172.  
  173. Superseding
  174. ===========
  175.  
  176.    The `message-supersede' command pops up a message buffer that will
  177. supersede the message in the current buffer.
  178.  
  179.    Headers matching the `message-ignored-supersedes-headers' are
  180. removed before popping up the new message buffer.  The default is
  181. `^Path:\\|^Date\\|^NNTP-Posting-Host:\\|^Xref:\\|^Lines:\\|^Received:\\|^X-From-Line:\\|Return-Path:'.
  182.  
  183. 
  184. File: message,  Node: Forwarding,  Next: Resending,  Prev: Superseding,  Up: Interface
  185.  
  186. Forwarding
  187. ==========
  188.  
  189.    The `message-forward' command pops up a message buffer to forward
  190. the message in the current buffer.  If given a prefix, forward using
  191. news.
  192.  
  193. `message-forward-start-separator'
  194.      Delimiter inserted before forwarded messages.  The default is
  195.      `------- Start of forwarded message -------\n'.
  196.  
  197. `message-forward-end-separator'
  198.      Delimiter inserted after forwarded messages.  The default is
  199.      `------- End of forwarded message -------\n'.
  200.  
  201. `message-signature-before-forwarded-message'
  202.      If this variable is `t', which it is by default, your personal
  203.      signature will be inserted before the forwarded message.  If not,
  204.      the forwarded message will be inserted first in the new mail.
  205.  
  206. `message-included-forward-headers'
  207.      Regexp matching header lines to be included in forwarded messages.
  208.  
  209. 
  210. File: message,  Node: Resending,  Next: Bouncing,  Prev: Forwarding,  Up: Interface
  211.  
  212. Resending
  213. =========
  214.  
  215.    The `message-resend' command will prompt the user for an address and
  216. resend the message in the current buffer to that address.
  217.  
  218.    Headers the match the `message-ignored-resent-headers' regexp will
  219. be removed before sending the message.  The default is
  220. `^Return-receipt'.
  221.  
  222. 
  223. File: message,  Node: Bouncing,  Prev: Resending,  Up: Interface
  224.  
  225. Bouncing
  226. ========
  227.  
  228.    The `message-bounce' command will, if the current buffer contains a
  229. bounced mail message, pop up a message buffer stripped of the bounce
  230. information.
  231.  
  232.    Headers that match the `message-ignored-bounced-headers' regexp will
  233. be removed before popping up the buffer.  The default is `^Received:'.
  234.  
  235. 
  236. File: message,  Node: Commands,  Next: Variables,  Prev: Interface,  Up: Top
  237.  
  238. Commands
  239. ********
  240.  
  241. * Menu:
  242.  
  243. * Header Commands::     Commands for moving to headers.
  244. * Movement::            Moving around in message buffers.
  245. * Insertion::           Inserting things into message buffers.
  246. * Various Commands::    Various things.
  247. * Sending::             Actually sending the message.
  248.  
  249. 
  250. File: message,  Node: Header Commands,  Next: Movement,  Up: Commands
  251.  
  252. Header Commands
  253. ===============
  254.  
  255.    All these commands move to the header in question.  If it doesn't
  256. exist, it will be inserted.
  257.  
  258. `C-c ?'
  259.      Describe the message mode.
  260.  
  261. `C-c C-f C-t'
  262.      Go to the `To' header (`message-goto-to').
  263.  
  264. `C-c C-f C-b'
  265.      Go to the `Bcc' header (`message-goto-bcc').
  266.  
  267. `C-c C-f C-f'
  268.      Go to the `Fcc' header (`message-goto-fcc').
  269.  
  270. `C-c C-f C-c'
  271.      Go to the `Cc' header (`message-goto-cc').
  272.  
  273. `C-c C-f C-s'
  274.      Go to the `Subject' header (`message-goto-subject').
  275.  
  276. `C-c C-f C-r'
  277.      Go to the `Reply-To' header (`message-goto-reply-to').
  278.  
  279. `C-c C-f C-n'
  280.      Go to the `Newsgroups' header (`message-goto-newsgroups').
  281.  
  282. `C-c C-f C-d'
  283.      Go to the `Distribution' header (`message-goto-distribution').
  284.  
  285. `C-c C-f C-o'
  286.      Go to the `Followup-To' header (`message-goto-followup-to').
  287.  
  288. `C-c C-f C-k'
  289.      Go to the `Keywords' header (`message-goto-keywords').
  290.  
  291. `C-c C-f C-u'
  292.      Go to the `Summary' header (`message-goto-summary').
  293.  
  294. 
  295. File: message,  Node: Movement,  Next: Insertion,  Prev: Header Commands,  Up: Commands
  296.  
  297. Movement
  298. ========
  299.  
  300. `C-c C-b'
  301.      Move to the beginning of the body of the message
  302.      (`message-goto-body').
  303.  
  304. `C-c C-i'
  305.      Move to the signature of the message (`message-goto-signature').
  306.  
  307. 
  308. File: message,  Node: Insertion,  Next: Various Commands,  Prev: Movement,  Up: Commands
  309.  
  310. Insertion
  311. =========
  312.  
  313. `C-c C-y'
  314.      Yank the message that's being replied to into the message buffer
  315.      (`message-yank-original').
  316.  
  317. `C-c C-q'
  318.      Fill the yanked message (`message-fill-yanked-message').
  319.  
  320. `C-c C-w'
  321.      Insert a signature at the end of the buffer
  322.      (`message-insert-signature').
  323.  
  324. `message-ignored-cited-headers'
  325.      All headers that match this regexp will be removed from yanked
  326.      messages.  The default is `.', which means that all headers will be
  327.      removed.
  328.  
  329. `message-citation-line-function'
  330.      Function called to insert the citation line.  The default is
  331.      `message-insert-citation-line'.
  332.  
  333. `message-yank-prefix'
  334.      When you are replying to or following up an article, you normally
  335.      want to quote the person you are answering.  Inserting quoted text
  336.      is done by "yanking", and each quoted line you yank will have
  337.      `message-yank-prefix' prepended to it.  The default is `> '.  If
  338.      it is `nil', just indent the message.
  339.  
  340. `message-indentation-spaces'
  341.      Number of spaces to indent yanked messages.
  342.  
  343. `message-cite-function'
  344.      Function for citing an original message.  The default is
  345.      `message-cite-original'.  You can also set it to
  346.      `sc-cite-original' to use Supercite.
  347.  
  348. `message-indent-citation-function'
  349.      Function for modifying a citation just inserted in the mail buffer.
  350.      This can also be a list of functions.  Each function can find the
  351.      citation between `(point)' and `(mark t)'.  And each function
  352.      should leave point and mark around the citation text as modified.
  353.  
  354. `message-signature'
  355.      String to be inserted at the end of the message buffer.  If `t'
  356.      (which is the default), the `message-signature-file' file will be
  357.      inserted instead.  If a function, the result from the function
  358.      will be used instead.  If a form, the result from the form will be
  359.      used instead.  If this variable is `nil', no signature will be
  360.      inserted at all.
  361.  
  362. `message-signature-file'
  363.      File containing the signature to be inserted at the end of the
  364.      buffer.  The default is `~/.signature'.
  365.  
  366.    Note that RFC1036 says that a signature should be preceded by the
  367. three characters `-- ' on a line by themselves.  This is to make it
  368. easier for the recipient to automatically recognize and process the
  369. signature.  So don't remove those characters, even though you might feel
  370. that they ruin you beautiful design, like, totally.
  371.  
  372.    Also note that no signature should be more than four lines long.
  373. Including ASCII graphics is an efficient way to get everybody to believe
  374. that you are silly and have nothing important to say.
  375.  
  376. 
  377. File: message,  Node: Various Commands,  Next: Sending,  Prev: Insertion,  Up: Commands
  378.  
  379. Various Commands
  380. ================
  381.  
  382. `C-c C-r'
  383.      Caesar rotate (aka. rot13) the current message
  384.      (`message-caesar-buffer-body').  If narrowing is in effect, just
  385.      rotate the visible portion of the buffer.  A numerical prefix says
  386.      how many places to rotate the text.  The default is 13.
  387.  
  388. `C-c C-t'
  389.      Insert a `To' header that contains the `Reply-To' or `From' header
  390.      of the message you're following up (`message-insert-to').
  391.  
  392. `C-c C-n'
  393.      Insert a `Newsgroups' header that reflects the `Followup-To' or
  394.      `Newsgroups' header of the article you're replying to
  395.      (`message-insert-newsgroups').
  396.  
  397. `C-c M-r'
  398.      Rename the buffer (`message-rename-buffer').  If given a prefix,
  399.      prompt for a new buffer name.
  400.  
  401. 
  402. File: message,  Node: Sending,  Prev: Various Commands,  Up: Commands
  403.  
  404. Sending
  405. =======
  406.  
  407. `C-c C-c'
  408.      Send the message and bury the current buffer
  409.      (`message-send-and-exit').
  410.  
  411. `C-c C-s'
  412.      Send the message (`message-send').
  413.  
  414. `C-c C-d'
  415.      Bury the message buffer and exit (`message-dont-send').
  416.  
  417. `C-c C-k'
  418.      Kill the message buffer and exit (`message-kill-buffer').
  419.  
  420. 
  421. File: message,  Node: Variables,  Next: Index,  Prev: Commands,  Up: Top
  422.  
  423. Variables
  424. *********
  425.  
  426. * Menu:
  427.  
  428. * Message Headers::             General message header stuff.
  429. * Mail Headers::                Customizing mail headers.
  430. * Mail Variables::              Other mail variables.
  431. * News Headers::                Customizing news headers.
  432. * News Variables::              Other news variables.
  433. * Various Message Variables::   Other message variables.
  434. * Sending Variables::           Variables for sending.
  435. * Message Buffers::             How Message names its buffers.
  436. * Message Actions::             Actions to be performed when exiting.
  437.  
  438. 
  439. File: message,  Node: Message Headers,  Next: Mail Headers,  Up: Variables
  440.  
  441. Message Headers
  442. ===============
  443.  
  444.    Message is quite aggressive on the message generation front.  It has
  445. to be - it's a combined news and mail agent.  To be able to send
  446. combined messages, it has to generate all headers itself to ensure that
  447. mail and news copies of messages look sufficiently similar.
  448.  
  449. `message-generate-headers-first'
  450.      If non-`nil', generate all headers before starting to compose the
  451.      message.
  452.  
  453. `message-from-style'
  454.      Specifies how `From' headers should look.  There are four legal
  455.      values:
  456.  
  457.     `nil'
  458.           Just the address - `king@grassland.com'.
  459.  
  460.     `parens'
  461.           `king@grassland.com (Elvis Parsley)'.
  462.  
  463.     `angles'
  464.           `Elvis Parsley <king@grassland.com>'.
  465.  
  466.     `default'
  467.           Look like `angles' if that doesn't require quoting, and
  468.           `parens' if it does.  If even `parens' requires quoting, use
  469.           `angles' anyway.
  470.  
  471. `message-deletable-headers'
  472.      Headers in this list that were previously generated by Message
  473.      will be deleted before posting.  Let's say you post an article.
  474.      Then you decide to post it again to some other group, you naughty
  475.      boy, so you jump back to the `*post-buf*' buffer, edit the
  476.      `Newsgroups' line, and ship it off again.  By default, this
  477.      variable makes sure that the old generated `Message-ID' is
  478.      deleted, and a new one generated.  If this isn't done, the entire
  479.      empire would probably crumble, anarchy would prevail, and cats
  480.      would start walking on two legs and rule the world.  Allegedly.
  481.  
  482. `message-default-headers'
  483.      This string is inserted at the end of the headers in all message
  484.      buffers.
  485.  
  486. 
  487. File: message,  Node: Mail Headers,  Next: Mail Variables,  Prev: Message Headers,  Up: Variables
  488.  
  489. Mail Headers
  490. ============
  491.  
  492. `message-required-mail-headers'
  493.      See *note News Headers::. for the syntax of this variable.  It is
  494.      `(From Date Subject (optional . In-Reply-To) Message-ID Lines
  495.      (optional . X-Mailer))' by default.
  496.  
  497. `message-ignored-mail-headers'
  498.      Regexp of headers to be removed before mailing.  The default is
  499.      `^Gcc:\\|^Fcc:'.
  500.  
  501. `message-default-mail-headers'
  502.      This string is inserted at the end of the headers in all message
  503.      buffers that are initialized as mail.
  504.  
  505. 
  506. File: message,  Node: Mail Variables,  Next: News Headers,  Prev: Mail Headers,  Up: Variables
  507.  
  508. Mail Variables
  509. ==============
  510.  
  511. `message-send-mail-function'
  512.      Function used to send the current buffer as mail.  The default is
  513.      `message-send-mail-with-sendmail'.   If you prefer using MH
  514.      instead, set this variable to `message-send-mail-with-mh'.
  515.  
  516. 
  517. File: message,  Node: News Headers,  Next: News Variables,  Prev: Mail Variables,  Up: Variables
  518.  
  519. News Headers
  520. ============
  521.  
  522.    `message-required-news-headers' a list of header symbols.  These
  523. headers will either be automatically generated, or, if that's
  524. impossible, they will be prompted for.  The following symbols are legal:
  525.  
  526. `From'
  527.      This required header will be filled out with the result of the
  528.      `message-make-from' function, which depends on the
  529.      `message-from-style', `user-full-name', `user-mail-address'
  530.      variables.
  531.  
  532. `Subject'
  533.      This required header will be prompted for if not present already.
  534.  
  535. `Newsgroups'
  536.      This required header says which newsgroups the article is to be
  537.      posted to.  If it isn't present already, it will be prompted for.
  538.  
  539. `Organization'
  540.      This optional header will be filled out depending on the
  541.      `message-user-organization' variable.
  542.      `message-user-organization-file' will be used if that variable is
  543.      `t'.
  544.  
  545. `Lines'
  546.      This optional header will be computed by Message.
  547.  
  548. `Message-ID'
  549.      This required header will be generated by Message.  A unique ID
  550.      will be created based on date, time, user name and system name.
  551.      Message will use `mail-host-address' as the fully qualified domain
  552.      name (FQDN) of the machine if that variable is define.  If not, it
  553.      will use `system-name', which doesn't report a FQDN on some
  554.      machines - notably Suns.
  555.  
  556. `X-Newsreader'
  557.      This optional header will be filled out according to the
  558.      `message-newsreader' local variable.
  559.  
  560. `X-Mailer'
  561.      This optional header will be filled out according to the
  562.      `message-mailer' local variable, unless there already is an
  563.      `X-Newsreader' header present.
  564.  
  565. `In-Reply-To'
  566.      This optional header is filled out using the `Date' and `From'
  567.      header of the article being replied.
  568.  
  569. `Expires'
  570.      This extremely optional header will be inserted according to the
  571.      `message-expires' variable.  It is highly deprecated and shouldn't
  572.      be used unless you know what you're doing.
  573.  
  574. `Distribution'
  575.      This optional header is filled out according to the
  576.      `message-distribution-function' variable.  It is a deprecated and
  577.      much misunderstood header.
  578.  
  579. `Path'
  580.      This extremely optional header should probably not ever be used.
  581.      However, some *very* old servers require that this header is
  582.      present.  `message-user-path' further controls how this `Path'
  583.      header is to look.  If is is `nil', the the server name as the
  584.      leaf node.  If is is a string, use the string.  If it is neither a
  585.      string nor `nil', use the user name only.  However, it is highly
  586.      unlikely that you should need to fiddle with this variable at all.
  587.  
  588.    In addition, you can enter conses into this list.  The car of this
  589. cons should be a symbol.  This symbol's name is the name of the header,
  590. and the cdr can either be a string to be entered verbatim as the value
  591. of this header, or it can be a function to be called.  This function
  592. should return a string to be inserted.  For instance, if you want to
  593. insert `Mime-Version: 1.0', you should enter `(Mime-Version . "1.0")'
  594. into the list.  If you want to insert a funny quote, you could enter
  595. something like `(X-Yow . yow)' into the list.  The function `yow' will
  596. then be called without any arguments.
  597.  
  598.    If the list contains a cons where the car of the cons is `optional',
  599. the cdr of this cons will only be inserted if it is non-`nil'.
  600.  
  601.    Other variables for customizing outgoing news articles:
  602.  
  603. `message-syntax-checks'
  604.      If non-`nil', message will attempt to check the legality of the
  605.      headers, as well as some other stuff, before posting.  You can
  606.      control the granularity of the check by adding or removing
  607.      elements from this list.  Legal elements are:
  608.  
  609.     `subject-cmsg'
  610.           Check the subject for commands.
  611.  
  612.     `sender'
  613.           Insert a new `Sender' header if the `From' header looks odd.
  614.  
  615.     `multiple-headers'
  616.           Check for the existence of multiple equal headers.
  617.  
  618.     `sendsys'
  619.           Check for the existence of version and sendsys commands.
  620.  
  621.     `message-id'
  622.           Check whether the `Message-ID' looks ok.
  623.  
  624.     `from'
  625.           Check whether the `From' header seems nice.
  626.  
  627.     `long-lines'
  628.           Check for too long lines.
  629.  
  630.     `control-chars'
  631.           Check for illegal characters.
  632.  
  633.     `size'
  634.           Check for excessive size.
  635.  
  636.     `new-text'
  637.           Check whether there is any new text in the messages.
  638.  
  639.     `signature'
  640.           Check the length of the signature.
  641.  
  642.     `approved'
  643.           Check whether the article has an `Approved' header, which is
  644.           something only moderators should include.
  645.  
  646.     `empty'
  647.           Check whether the article is empty.
  648.  
  649.     `empty-headers'
  650.           Check whether any of the headers are empty.
  651.  
  652.     `existing-newsgroups'
  653.           Check whether the newsgroups mentioned in the Newsgroups and
  654.           Followup-To headers exist.
  655.  
  656.     `valid-newsgroups'
  657.           Check whether the `Newsgroups' and `Followup-To' headers are
  658.           valid syntactially.
  659.  
  660.      All these conditions are checked by default.
  661.  
  662. `message-ignored-news-headers'
  663.      Regexp of headers to be removed before posting.  The default is
  664.      `^NNTP-Posting-Host:\\|^Xref:\\|^Bcc:\\|^Gcc:\\|^Fcc:'.
  665.  
  666. `message-default-news-headers'
  667.      This string is inserted at the end of the headers in all message
  668.      buffers that are initialized as news.
  669.  
  670. 
  671. File: message,  Node: News Variables,  Next: Various Message Variables,  Prev: News Headers,  Up: Variables
  672.  
  673. News Variables
  674. ==============
  675.  
  676. `message-send-news-function'
  677.      Function used to send the current buffer as news.  The default is
  678.      `message-send-news'.
  679.  
  680. `message-post-method'
  681.      Method used for posting a prepared news message.
  682.  
  683. 
  684. File: message,  Node: Various Message Variables,  Next: Sending Variables,  Prev: News Variables,  Up: Variables
  685.  
  686. Various Message Variables
  687. =========================
  688.  
  689. `message-signature-separator'
  690.      Regexp matching the signature separator.  It is `^-- *$' by
  691.      default.
  692.  
  693. `mail-header-separator'
  694.      String used to separate the headers from the body.  It is `--text
  695.      follows this line--' by default.
  696.  
  697. `message-directory'
  698.      Directory used by many mailey things.  The default is `~/Mail/'.
  699.  
  700. `message-autosave-directory'
  701.      Directory where message buffers will be autosaved to.
  702.  
  703. `message-signature-setup-hook'
  704.      Hook run when initializing the message buffer.  It is run after the
  705.      headers have been inserted but before the signature has been
  706.      inserted.
  707.  
  708. `message-setup-hook'
  709.      Hook run as the last thing when the message buffer has been
  710.      initialized.
  711.  
  712. `message-header-setup-hook'
  713.      Hook called narrowed to the headers after initializing the headers.
  714.  
  715. `message-send-hook'
  716.      Hook run before sending messages.
  717.  
  718. `message-sent-hook'
  719.      Hook run after sending messages.
  720.  
  721. `message-mode-syntax-table'
  722.      Syntax table used in message mode buffers.
  723.  
  724. 
  725. File: message,  Node: Sending Variables,  Next: Message Buffers,  Prev: Various Message Variables,  Up: Variables
  726.  
  727. Sending Variables
  728. =================
  729.  
  730. `message-fcc-handler-function'
  731.      A function called to save outgoing articles.  This function will be
  732.      called with the name of the file to store the article in. The
  733.      default function is `rmail-output' which saves in Unix mailbox
  734.      format.
  735.  
  736. `message-courtesy-message'
  737.      When sending combined messages, this string is inserted at the
  738.      start of the mailed copy.  If this variable is `nil', no such
  739.      courtesy message will be added.
  740.  
  741. 
  742. File: message,  Node: Message Buffers,  Next: Message Actions,  Prev: Sending Variables,  Up: Variables
  743.  
  744. Message Buffers
  745. ===============
  746.  
  747.    Message will generate new buffers with unique buffer names when you
  748. request a message buffer.  When you send the message, the buffer isn't
  749. normally killed off.  It's name is changed and a certain number of old
  750. message buffers are kept alive.
  751.  
  752. `message-generate-new-buffers'
  753.      If non-`nil', generate new buffers.  The default is `t'.  If this
  754.      is a function, call that function with three parameters: The type,
  755.      the to address and the group name.  (Any of these may be `nil'.)
  756.      The function should return the new buffer name.
  757.  
  758. `message-max-buffers'
  759.      This variable says how many old message buffers to keep.  If there
  760.      are more message buffers than this, the oldest buffer will be
  761.      killed.  The default is 10.  If this variable is `nil', no old
  762.      message buffers will ever be killed.
  763.  
  764. `message-send-rename-function'
  765.      After sending a message, the buffer is renamed from, for instance,
  766.      `*reply to Lars*' to `*sent reply to Lars*'.  If you don't like
  767.      this, set this variable to a function that renames the buffer in a
  768.      manner you like.  If you don't want to rename the buffer at all,
  769.      you can say:
  770.  
  771.           (setq message-send-rename-function 'ignore)
  772.  
  773. `message-kill-buffer-on-exit'
  774.      If non-`nil', kill the buffer immediately on exit.
  775.  
  776. 
  777. File: message,  Node: Message Actions,  Prev: Message Buffers,  Up: Variables
  778.  
  779. Message Actions
  780. ===============
  781.  
  782.    When Message is being used from a news/mail reader, the reader is
  783. likely to want to perform some task after the message has been sent.
  784. Perhaps return to the previous window configuration or mark an article
  785. as replied.
  786.  
  787.    The user may exit from the message buffer in various ways.  The most
  788. common is `C-c C-c', which sends the message and exits.  Other
  789. possibilities are `C-c C-s' which just sends the message, `C-c C-d'
  790. which postpones the message editing and buries the message buffer, and
  791. `C-c C-k' which kills the message buffer.  Each of these actions have
  792. lists associated with them that contains actions to be executed:
  793. `message-send-actions', `message-exit-actions',
  794. `message-postpone-actions', and `message-kill-actions'.
  795.  
  796.    Message provides a function to interface with these lists:
  797. `message-add-action'.  The first parameter is the action to be added,
  798. and the rest of the arguments are which lists to add this action to.
  799. Here's an example from Gnus:
  800.  
  801.        (message-add-action
  802.         `(set-window-configuration ,(current-window-configuration))
  803.         'exit 'postpone 'kill)
  804.  
  805.    This restores the Gnus window configuration when the message buffer
  806. is killed, postponed or exited.
  807.  
  808.    An "action" can be either a normal function; or a list where the
  809. `car' is a function and the `cdr' is the list of arguments; or a form
  810. to be `eval'ed.
  811.  
  812. 
  813. File: message,  Node: Index,  Next: Key Index,  Prev: Variables,  Up: Top
  814.  
  815. Index
  816. *****
  817.  
  818. * Menu:
  819.  
  820. * approved:                             News Headers.
  821. * Distribution:                         News Headers.
  822. * Expires:                              News Headers.
  823. * From:                                 News Headers.
  824. * Lines:                                News Headers.
  825. * long lines:                           News Headers.
  826. * mail-header-separator:                Various Message Variables.
  827. * mail-host-address:                    News Headers.
  828. * message-autosave-directory:           Various Message Variables.
  829. * message-bounce:                       Bouncing.
  830. * message-caesar-buffer-body:           Various Commands.
  831. * message-cancel-news:                  Canceling News.
  832. * message-citation-line-function:       Insertion.
  833. * message-cite-function:                Insertion.
  834. * message-cite-original:                Insertion.
  835. * message-courtesy-message:             Sending Variables.
  836. * message-default-headers:              Message Headers.
  837. * message-default-mail-headers:         Mail Headers.
  838. * message-default-news-headers:         News Headers.
  839. * message-deletable-headers:            Message Headers.
  840. * message-directory:                    Various Message Variables.
  841. * message-dont-send:                    Sending.
  842. * message-exit-actions:                 Message Actions.
  843. * message-fcc-handler-function:         Sending Variables.
  844. * message-fill-yanked-message:          Insertion.
  845. * message-followup:                     Followup.
  846. * message-followup-to-function:         Followup.
  847. * message-forward:                      Forwarding.
  848. * message-forward-end-separator:        Forwarding.
  849. * message-forward-start-separator:      Forwarding.
  850. * message-from-style:                   Message Headers.
  851. * message-generate-headers-first:       Message Headers.
  852. * message-generate-new-buffers:         Message Buffers.
  853. * message-goto-bcc:                     Header Commands.
  854. * message-goto-body:                    Movement.
  855. * message-goto-cc:                      Header Commands.
  856. * message-goto-distribution:            Header Commands.
  857. * message-goto-fcc:                     Header Commands.
  858. * message-goto-followup-to:             Header Commands.
  859. * message-goto-keywords:                Header Commands.
  860. * message-goto-newsgroups:              Header Commands.
  861. * message-goto-reply-to:                Header Commands.
  862. * message-goto-signature:               Movement.
  863. * message-goto-subject:                 Header Commands.
  864. * message-goto-summary:                 Header Commands.
  865. * message-goto-to:                      Header Commands.
  866. * message-header-setup-hook:            Various Message Variables.
  867. * Message-ID:                           News Headers.
  868. * message-ignored-bounced-headers:      Bouncing.
  869. * message-ignored-cited-headers:        Insertion.
  870. * message-ignored-mail-headers:         Mail Headers.
  871. * message-ignored-news-headers:         News Headers.
  872. * message-ignored-resent-headers:       Resending.
  873. * message-ignored-supersedes-headers:   Superseding.
  874. * message-included-forward-headers:     Forwarding.
  875. * message-indent-citation-function:     Insertion.
  876. * message-indentation-spaces:           Insertion.
  877. * message-insert-newsgroups:            Various Commands.
  878. * message-insert-signature:             Insertion.
  879. * message-insert-to:                    Various Commands.
  880. * message-kill-actions:                 Message Actions.
  881. * message-kill-buffer:                  Sending.
  882. * message-kill-buffer-on-exit:          Message Buffers.
  883. * message-mail:                         New Mail Message.
  884. * message-max-buffers:                  Message Buffers.
  885. * message-mode-syntax-table:            Various Message Variables.
  886. * message-news:                         New News Message.
  887. * message-post-method:                  News Variables.
  888. * message-postpone-actions:             Message Actions.
  889. * message-rename-buffer:                Various Commands.
  890. * message-reply:                        Reply.
  891. * message-reply-to-function:            Reply.
  892. * message-required-mail-headers:        Mail Headers.
  893. * message-required-news-headers:        News Headers.
  894. * message-resend:                       Resending.
  895. * message-send:                         Sending.
  896. * message-send-actions:                 Message Actions.
  897. * message-send-and-exit:                Sending.
  898. * message-send-hook:                    Various Message Variables.
  899. * message-send-mail-function:           Mail Variables.
  900. * message-send-news-function:           News Variables.
  901. * message-send-rename-function:         Message Buffers.
  902. * message-sent-hook:                    Various Message Variables.
  903. * message-setup-hook:                   Various Message Variables.
  904. * message-signature:                    Insertion.
  905. * message-signature-before-forwarded-message: Forwarding.
  906. * message-signature-file:               Insertion.
  907. * message-signature-separator:          Various Message Variables.
  908. * message-signature-setup-hook:         Various Message Variables.
  909. * message-supersede:                    Superseding.
  910. * message-syntax-checks:                News Headers.
  911. * message-use-followup-to:              Followup.
  912. * message-wide-reply:                   Wide Reply.
  913. * message-wide-reply-to-function:       Wide Reply.
  914. * message-yank-original:                Insertion.
  915. * message-yank-prefix:                  Insertion.
  916. * Mime-Version:                         News Headers.
  917. * Newsgroups:                           News Headers.
  918. * organization:                         News Headers.
  919. * path:                                 News Headers.
  920. * quoting:                              Insertion.
  921. * rmail-dont-reply-to-names:            Wide Reply.
  922. * sc-cite-original:                     Insertion.
  923. * Sender:                               News Headers.
  924. * sendsys:                              News Headers.
  925. * Subject:                              News Headers.
  926. * Sun:                                  News Headers.
  927. * Supercite:                            Insertion.
  928. * system-name:                          News Headers.
  929. * user-full-name:                       News Headers.
  930. * user-mail-address:                    News Headers.
  931. * X-Newsreader:                         News Headers.
  932. * yanking:                              Insertion.
  933. * yow:                                  News Headers.
  934.  
  935. 
  936. File: message,  Node: Key Index,  Prev: Index,  Up: Top
  937.  
  938. Key Index
  939. *********
  940.  
  941. * Menu:
  942.  
  943. * C-c ?:                                Header Commands.
  944. * C-c C-b:                              Movement.
  945. * C-c C-c:                              Sending.
  946. * C-c C-d:                              Sending.
  947. * C-c C-f C-b:                          Header Commands.
  948. * C-c C-f C-c:                          Header Commands.
  949. * C-c C-f C-d:                          Header Commands.
  950. * C-c C-f C-f:                          Header Commands.
  951. * C-c C-f C-k:                          Header Commands.
  952. * C-c C-f C-n:                          Header Commands.
  953. * C-c C-f C-o:                          Header Commands.
  954. * C-c C-f C-r:                          Header Commands.
  955. * C-c C-f C-s:                          Header Commands.
  956. * C-c C-f C-t:                          Header Commands.
  957. * C-c C-f C-u:                          Header Commands.
  958. * C-c C-i:                              Movement.
  959. * C-c C-k:                              Sending.
  960. * C-c C-n:                              Various Commands.
  961. * C-c C-q:                              Insertion.
  962. * C-c C-r:                              Various Commands.
  963. * C-c C-s:                              Sending.
  964. * C-c C-t:                              Various Commands.
  965. * C-c C-w:                              Insertion.
  966. * C-c C-y:                              Insertion.
  967. * C-c M-r:                              Various Commands.
  968.  
  969.  
  970. 
  971. Tag Table:
  972. Node: Top788
  973. Node: Interface1246
  974. Node: New Mail Message2243
  975. Node: New News Message2605
  976. Node: Reply2998
  977. Node: Wide Reply4334
  978. Node: Followup4930
  979. Node: Canceling News5701
  980. Node: Superseding5906
  981. Node: Forwarding6377
  982. Node: Resending7300
  983. Node: Bouncing7684
  984. Node: Commands8069
  985. Node: Header Commands8449
  986. Node: Movement9489
  987. Node: Insertion9773
  988. Node: Various Commands12475
  989. Node: Sending13304
  990. Node: Variables13684
  991. Node: Message Headers14322
  992. Node: Mail Headers16040
  993. Node: Mail Variables16648
  994. Node: News Headers17007
  995. Node: News Variables22452
  996. Node: Various Message Variables22798
  997. Node: Sending Variables23980
  998. Node: Message Buffers24587
  999. Node: Message Actions26018
  1000. Node: Index27485
  1001. Node: Key Index33854
  1002. 
  1003. End Tag Table
  1004.